package com.inforich.appManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
import com.inforich.appManage.domain.AppRole;

/**
 * app角色Service接口
 *
 * @author hjm
 * @date 2022-10-27
 */
public interface IAppRoleService extends IService<AppRole> {

  /**
   * 分页列表
   */
  Page<AppRole> pageAppRole(Page<AppRole> page, Map<String, Object> map);

  /**
   * 列表
   */
  List<AppRole> listAppRole(Map<String, Object> map);

  AppRole getByRoleCode(String roleCode);

  String getIdByRoleCode(String roleCode);

  String getRoleCodeById(String id);
}
